﻿using Microsoft.AspNetCore.Http;

namespace Zocono.WCS.Admin.Common
{
    public static class HttpRequestExtensions
    {
        /// <summary>
        /// 获取当前请求地址
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public static string GetAbsoluteUri(this HttpRequest request)
        {
            return request.Path;
        }
    }
}
